package pattern.template_method;

public class Test {
    public static void main(String[] args) {
        DayOffProcess zhangsan = new ZhangSan();
        zhangsan.dayOffProcess();
        System.out.println("==========");
        DayOffProcess lisi = new LiSi();
        lisi.dayOffProcess();
        System.out.println("==========");
        DayOffProcess wangWu = new UserDayOffProcess("王五", "开发部");
        wangWu.dayOffProcess();
    }
}
